package acid.spring.db;

/*
 * Part of the ACID Project
 * Developed in 2011 by Morgan Taschuk
 */



/**
 *
 * @author morgan
 */
public class Organism implements java.io.Serializable{

    private int organism_id;
    private String latin_name;
    private String common_name;

    public Organism(int organism_id, String latin_name, String common_name)
    {
        this.organism_id = organism_id;
        this.latin_name = latin_name;
        this.common_name = common_name;
    }

    

    /**
     * Get the value of common_name
     *
     * @return the value of common_name
     */
    public String getCommon_name()
    {
        return common_name;
    }

    /**
     * Set the value of common_name
     *
     * @param common_name new value of common_name
     */
    public void setCommon_name(String common_name)
    {
        this.common_name = common_name;
    }

    /**
     * Get the value of latin_name
     *
     * @return the value of latin_name
     */
    public String getLatin_name()
    {
        return latin_name;
    }

    /**
     * Set the value of latin_name
     *
     * @param latin_name new value of latin_name
     */
    public void setLatin_name(String latin_name)
    {
        this.latin_name = latin_name;
    }

    /**
     * Get the value of organism_id
     *
     * @return the value of organism_id
     */
    public int getOrganism_id()
    {
        return organism_id;
    }

    /**
     * Set the value of organism_id
     *
     * @param organism_id new value of organism_id
     */
    public void setOrganism_id(int organism_id)
    {
        this.organism_id = organism_id;
    }

    @Override
    public String toString()
    {
        return latin_name;
    }

}
